<div class="modal" id="myModal">
    <div class="modal-dialog modal-md i-scale">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
                <h4></h4>
            </div>
            <div class="modal-body">
                <div id="loading"></div>
                <div id="data-form">
                    <form role="form">
                        <input name="id" type="hidden" />
                        <div class="row form-group">
                            <div class="col-md-12">
                                <label class="control-label">类别名称：</label>
                                <input name="name" type="text" class="text" />
                                <em class="notice-err"></em>
                            </div>
                            <div class="col-md-12">
                                <label class="control-label">图片大小：</label>
                                <input type="text" name="width" style="width:86px" placeholder="px" />
                                <span>X</span>
                                <input type="text" name="height" style="width:86px" placeholder="px" />
                                <em class="notice-err"></em>
                            </div>
                            <div class="col-md-12">
                                <label class="control-label">类别KEY：</label>
                                <input name="key" type="text" class="text" />
                                <em class="notice-err"></em>
                            </div>
                            <div class="col-sm-12" id="resFile">
                                <label class="control-label">类别图片：</label>
                                <input type="text" name="litpic" class="file-input" value=""/>
                                <div class="file-canvas" id="file-canvas">
                                    <div class="file-info"></div>
                                    <div class="file-val hide"><img src="" /><i title="删除"></i></div>
                                    <div class="file-loading hide"></div>
                                    <input id="file-upload" type="file" />
                                </div>
                                <em class="notice-err"></em>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary r" role="save">提 交</button>
            </div>
        </div>
    </div>
</div>